Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.commandline.executor.service.soffice--command

This contribution is part of XML component org.nuxeo.ecm.platform.commandline.executor.service.soffice inside nuxeo-platform-convert-9.10.jar /OSGI-INF/commandline-soffice-contrib.xml

Extension Point

Extension point command of component CommandLineExecutorComponent.

Contributed Items

  • <command enabled="true" name="soffice">
          <commandLine>soffice</commandLine>
          <winCommand>soffice.exe</winCommand>
          <parameterString>--headless --norestore --writer --convert-to #{format} #{sourceFilePath} --outdir #{outDirPath}
          </parameterString>
          <testParameterString>--version</testParameterString>
          <winTestParameterString>--headless --cat test</winTestParameterString>
          <installationDirective>You need to install LibreOffice and add soffice to the PATH environment variable.
          </installationDirective>
        </command>

XML Source

<extension point="command" target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent">
    <command enabled="true" name="soffice">
      <commandLine>soffice</commandLine>
      <winCommand>soffice.exe</winCommand>
      <parameterString>--headless --norestore --writer --convert-to #{format} #{sourceFilePath} --outdir #{outDirPath}
      </parameterString>
      <testParameterString>--version</testParameterString>
      <winTestParameterString>--headless --cat test</winTestParameterString>
      <installationDirective>You need to install LibreOffice and add soffice to the PATH environment variable.
      </installationDirective>
    </command>
  </extension>